//
//  YLSheetView.h
//  YLProject
//
//  Created by 张伯林 on 2018/2/3.
//  Copyright © 2018年 WY. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger ,YLSheetViewType) {
    YLSheetViewReportLaBlack  = 0,         //举报拉黑
    
};
@class YLSheetView;
@protocol YLSheetViewProtocol<NSObject>

@optional
-(void)sheetView:(YLSheetView *)sheetView currentSheetViewType:(YLSheetViewType)type didSelectedIndex:(NSInteger)index;
@end
@interface YLSheetView : UIViewController
@property(nonatomic,assign)YLSheetViewType type;
@property (nonatomic ,weak) id<YLSheetViewProtocol> delegate;
+(instancetype)initWithDataSource:(NSArray *)dataSource;
-(void)showSheetView:(UIViewController *)controller;
-(void)dismissSheetView;
@end
